package com.zl.payment.service;

import com.zl.payment.entity.OverdueBill;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 黄军鹏
 * @since 2020-07-17
 */
public interface IOverdueBillService extends IService<OverdueBill> {

List<OverdueBill> getOverbills(String creditCardId);

BigDecimal interest (OverdueBill overdueBill);

BigDecimal totalAmount(OverdueBill overdueBill);

boolean repayOverdueBill( OverdueBill overdueBill,String cardNo,BigDecimal amount);
}
